package com.sc.server.member.dao.po;

//import com.baomidou.mybatisplus.annotation.IdType;
//import com.baomidou.mybatisplus.annotation.TableField;
//import com.baomidou.mybatisplus.annotation.TableId;
//import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.server.member.dto.UserDTO;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author yuantongqin
 * desc:
 * 2020-08-11
 */
//@TableName("user")
@Data
public class UserPO {

//    @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;
//
//    private String name;
//    private String password;
//
//    private Integer sex;
//    private Integer age;
//    private String address;
//    private String email;
//    @TableField("create_time")
//    private Long createTime;
//
//    @TableField("extract_field")
    @NotNull(groups = {UserDTO.class},message = "不能为空")
    private String extractField;
}
